home *** CD-ROM | disk | FTP | other *** search
/ CD-ROM Now 11 / CD-ROM Now MegaDisc 11 (1995-02).iso / discs / internet / rfc1533 < prev    next >
Text File  |  1994-10-26  |  51KB  |  1,684 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7. Network Working Group                                       S. Alexander
  8. Request for Comments: 1533                      Lachman Technology, Inc.
  9. Obsoletes: 1497, 1395, 1084, 1048                               R. Droms
  10. Category: Standards Track                            Bucknell University
  11.                                                             October 1993
  12.  
  13.  
  14.                DHCP Options and BOOTP Vendor Extensions
  15.  
  16. Status of this Memo
  17.  
  18.    This RFC specifies an Internet standards track protocol for the
  19.    Internet community, and requests discussion and suggestions for
  20.    improvements.  Please refer to the current edition of the "Internet
  21.    Official Protocol Standards" for the standardization state and status
  22.    of this protocol.  Distribution of this memo is unlimited.
  23.  
  24. Abstract
  25.  
  26.    The Dynamic Host Configuration Protocol (DHCP) [1] provides a
  27.    framework for passing configuration information to hosts on a TCP/IP
  28.    network.  Configuration parameters and other control information are
  29.    carried in tagged data items that are stored in the "options" field
  30.    of the DHCP message.  The data items themselves are also called
  31.    "options."
  32.  
  33.    This document specifies the current set of DHCP options.  This
  34.    document will be periodically updated as new options are defined.
  35.     Each superseding document will include the entire current list of
  36.    valid options.
  37.  
  38.    All of the vendor information extensions defined in RFC 1497 [2] may
  39.    be used as DHCP options.  The definitions given in RFC 1497 are
  40.    included in this document, which supersedes RFC 1497.  All of the
  41.    DHCP options defined in this document, except for those specific to
  42.    DHCP as defined in section 9, may be used as BOOTP vendor information
  43.    extensions.
  44.  
  45. Table of Contents
  46.  
  47.     1.  Introduction ..............................................  2
  48.     2.  BOOTP Extension/DHCP Option Field Format ..................  2
  49.     3.  RFC 1497 Vendor Extensions ................................  3
  50.     4.  IP Layer Parameters per Host .............................. 10
  51.     5.  IP Layer Parameters per Interface ........................  13
  52.     6.  Link Layer Parameters per Interface ....................... 16
  53.     7.  TCP Parameters ............................................ 17
  54.     8.  Application and Service Parameters ........................ 18
  55.  
  56.  
  57.  
  58. Alexander & Droms                                               [Page 1]
  59.  
  60. RFC 1533        DHCP Options and BOOTP Vendor Extensions    October 1993
  61.  
  62.  
  63.     9.  DHCP Extensions ........................................... 23
  64.    10.  Extensions ................................................ 27
  65.    11.  Acknowledgements .......................................... 28
  66.    12.  References ................................................ 28
  67.    13.  Security Considerations ................................... 19
  68.    14.  Authors' Addresses ........................................ 30
  69.  
  70. 1. Introduction
  71.  
  72.    This document specifies options for use with both the Dynamic Host
  73.    Configuration Protocol and the Bootstrap Protocol.
  74.  
  75.    The full description of DHCP packet formats may be found in the DHCP
  76.    specification document [1], and the full description of BOOTP packet
  77.    formats may be found in the BOOTP specification document [3].  This
  78.    document defines the format of information in the last field of DHCP
  79.    packets ('options') and of BOOTP packets ('vend').  The remainder of
  80.    this section defines a generalized use of this area for giving
  81.    information useful to a wide class of machines, operating systems and
  82.    configurations. Sites with a single DHCP or BOOTP server that is
  83.    shared among heterogeneous clients may choose to define other, site-
  84.    specific formats for the use of the 'options' field.
  85.  
  86.    Section 2 of this memo describes the formats of DHCP options and
  87.    BOOTP vendor extensions.  Section 3 describes options defined in
  88.    previous documents for use with BOOTP (all may also be used with
  89.    DHCP).  Sections 4-8 define new options intended for use with both
  90.    DHCP and BOOTP. Section 9 defines options used only in DHCP.
  91.  
  92.    References further describing most of the options defined in sections
  93.    2-6 can be found in section 12.  The use of the options defined in
  94.    section 9 is described in the DHCP specification [1].
  95.  
  96.    Information on registering new options is contained in section 10.
  97.  
  98. 2. BOOTP Extension/DHCP Option Field Format
  99.  
  100.    DHCP options have the same format as the BOOTP "vendor extensions"
  101.    defined in RFC 1497 [2].  Options may be fixed length or variable
  102.    length.  All options begin with a tag octet, which uniquely
  103.    identifies the option.  Fixed-length options without data consist of
  104.    only a tag octet.  Only options 0 and 255 are fixed length.  All
  105.    other options are variable-length with a length octet following the
  106.    tag octet.  The value of the length octet does not include the two
  107.    octets specifying the tag and length.  The length octet is followed
  108.    by "length" octets of data.  In the case of some variable-length
  109.    options the length field is a constant but must still be specified.
  110.  
  111.  
  112.  
  113.  
  114. Alexander & Droms                                               [Page 2]
  115.  
  116. RFC 1533        DHCP Options and BOOTP Vendor Extensions    October 1993
  117.  
  118.  
  119.    Any options defined subsequent to this document should contain a
  120.    length octet even if the length is fixed or zero.
  121.  
  122.    All multi-octet quantities are in network byte-order.
  123.  
  124.    When used with BOOTP, the first four octets of the vendor information
  125.    field have been assigned to the "magic cookie" (as suggested in RFC
  126.    951).  This field identifies the mode in which the succeeding data is
  127.    to be interpreted.  The value of the magic cookie is the 4 octet
  128.    dotted decimal 99.130.83.99 (or hexadecimal number 63.82.53.63) in
  129.    network byte order.
  130.  
  131.    All of the "vendor extensions" defined in RFC 1497 are also DHCP
  132.    options.
  133.  
  134.    Option codes 128 to 254 (decimal) are reserved for site-specific
  135.    options.
  136.  
  137.    Except for the options in section 9, all options may be used with
  138.    either DHCP or BOOTP.
  139.  
  140.    Many of these options have their default values specified in other
  141.    documents.  In particular, RFC 1122 [4] specifies default values for
  142.    most IP and TCP configuration parameters.
  143.  
  144. 3. RFC 1497 Vendor Extensions
  145.  
  146.    This section lists the vendor extensions as defined in RFC 1497.
  147.    They are defined here for completeness.
  148.  
  149. 3.1. Pad Option
  150.  
  151.    The pad option can be used to cause subsequent fields to align on
  152.    word boundaries.
  153.  
  154.    The code for the pad option is 0, and its length is 1 octet.
  155.  
  156.     Code
  157.    +-----+
  158.    |  0  |
  159.    +-----+
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170. Alexander & Droms                                               [Page 3]
  171.  
  172. RFC 1533        DHCP Options and BOOTP Vendor Extensions    October 1993
  173.  
  174.  
  175. 3.2. End Option
  176.  
  177.    The end option marks the end of valid information in the vendor
  178.    field.  Subsequent octets should be filled with pad options.
  179.  
  180.    The code for the end option is 255, and its length is 1 octet.
  181.  
  182.     Code
  183.    +-----+
  184.    | 255 |
  185.    +-----+
  186.  
  187. 3.3. Subnet Mask
  188.  
  189.    The subnet mask option specifies the client's subnet mask as per RFC
  190.    950 [5].
  191.  
  192.    If both the subnet mask and the router option are specified in a DHCP
  193.    reply, the subnet mask option MUST be first.
  194.  
  195.    The code for the subnet mask option is 1, and its length is 4 octets.
  196.  
  197.     Code   Len        Subnet Mask
  198.    +-----+-----+-----+-----+-----+-----+
  199.    |  1  |  4  |  m1 |  m2 |  m3 |  m4 |
  200.    +-----+-----+-----+-----+-----+-----+
  201.  
  202. 3.4. Time Offset
  203.  
  204.    The time offset field specifies the offset of the client's subnet in
  205.    seconds from Coordinated Universal Time (UTC).  The offset is
  206.    expressed as a signed 32-bit integer.
  207.  
  208.    The code for the time offset option is 2, and its length is 4 octets.
  209.  
  210.     Code   Len        Time Offset
  211.    +-----+-----+-----+-----+-----+-----+
  212.    |  2  |  4  |  n1 |  n2 |  n3 |  n4 |
  213.    +-----+-----+-----+-----+-----+-----+
  214.  
  215.  
  216.  
  217.  
  218.  
  219.  
  220.  
  221.  
  222.  
  223.  
  224.  
  225.  
  226. Alexander & Droms                                               [Page 4]
  227.  
  228. RFC 1533        DHCP Options and BOOTP Vendor Extensions    October 1993
  229.  
  230.  
  231. 3.5. Router Option
  232.  
  233.    The router option specifies a list of IP addresses for routers on the
  234.    client's subnet.  Routers SHOULD be listed in order of preference.
  235.  
  236.    The code for the router option is 3.  The minimum length for the
  237.    router option is 4 octets, and the length MUST always be a multiple
  238.    of 4.
  239.  
  240.     Code   Len         Address 1               Address 2
  241.    +-----+-----+-----+-----+-----+-----+-----+-----+--
  242.    |  3  |  n  |  a1 |  a2 |  a3 |  a4 |  a1 |  a2 |  ...
  243.    +-----+-----+-----+-----+-----+-----+-----+-----+--
  244.  
  245. 3.6. Time Server Option
  246.  
  247.    The time server option specifies a list of RFC 868 [6] time servers
  248.    available to the client.  Servers SHOULD be listed in order of
  249.    preference.
  250.  
  251.    The code for the time server option is 4.  The minimum length for
  252.    this option is 4 octets, and the length MUST always be a multiple of
  253.    4.
  254.  
  255.     Code   Len         Address 1               Address 2
  256.    +-----+-----+-----+-----+-----+-----+-----+-----+--
  257.    |  4  |  n  |  a1 |  a2 |  a3 |  a4 |  a1 |  a2 |  ...
  258.    +-----+-----+-----+-----+-----+-----+-----+-----+--
  259.  
  260. 3.7. Name Server Option
  261.  
  262.    The name server option specifies a list of IEN 116 [7] name servers
  263.    available to the client.  Servers SHOULD be listed in order of
  264.    preference.
  265.  
  266.    The code for the name server option is 5.  The minimum length for
  267.    this option is 4 octets, and the length MUST always be a multiple of
  268.    4.
  269.  
  270.     Code   Len         Address 1               Address 2
  271.    +-----+-----+-----+-----+-----+-----+-----+-----+--
  272.    |  5  |  n  |  a1 |  a2 |  a3 |  a4 |  a1 |  a2 |  ...
  273.    +-----+-----+-----+-----+-----+-----+-----+-----+--
  274.  
  275.  
  276.  
  277.  
  278.  
  279.  
  280.  
  281.  
  282. Alexander & Droms                                               [Page 5]
  283.  
  284. RFC 1533        DHCP Options and BOOTP Vendor Extensions    October 1993
  285.  
  286.  
  287. 3.8. Domain Name Server Option
  288.  
  289.    The domain name server option specifies a list of Domain Name System
  290.    (STD 13, RFC 1035 [8]) name servers available to the client.  Servers
  291.    SHOULD be listed in order of preference.
  292.  
  293.    The code for the domain name server option is 6.  The minimum length
  294.    for this option is 4 octets, and the length MUST always be a multiple
  295.    of 4.
  296.  
  297.     Code   Len         Address 1               Address 2
  298.    +-----+-----+-----+-----+-----+-----+-----+-----+--
  299.    |  6  |  n  |  a1 |  a2 |  a3 |  a4 |  a1 |  a2 |  ...
  300.    +-----+-----+-----+-----+-----+-----+-----+-----+--
  301.  
  302. 3.9. Log Server Option
  303.  
  304.    The log server option specifies a list of MIT-LCS UDP log servers
  305.    available to the client.  Servers SHOULD be listed in order of
  306.    preference.
  307.  
  308.    The code for the log server option is 7.  The minimum length for this
  309.    option is 4 octets, and the length MUST always be a multiple of 4.
  310.  
  311.     Code   Len         Address 1               Address 2
  312.    +-----+-----+-----+-----+-----+-----+-----+-----+--
  313.    |  7  |  n  |  a1 |  a2 |  a3 |  a4 |  a1 |  a2 |  ...
  314.    +-----+-----+-----+-----+-----+-----+-----+-----+--
  315.  
  316. 3.10. Cookie Server Option
  317.  
  318.    The cookie server option specifies a list of RFC 865 [9] cookie
  319.    servers available to the client.  Servers SHOULD be listed in order
  320.    of preference.
  321.  
  322.    The code for the log server option is 8.  The minimum length for this
  323.    option is 4 octets, and the length MUST always be a multiple of 4.
  324.  
  325.     Code   Len         Address 1               Address 2
  326.    +-----+-----+-----+-----+-----+-----+-----+-----+--
  327.    |  8  |  n  |  a1 |  a2 |  a3 |  a4 |  a1 |  a2 |  ...
  328.    +-----+-----+-----+-----+-----+-----+-----+-----+--
  329.  
  330.  
  331.  
  332.  
  333.  
  334.  
  335.  
  336.  
  337.  
  338. Alexander & Droms                                               [Page 6]
  339.  
  340. RFC 1533        DHCP Options and BOOTP Vendor Extensions    October 1993
  341.  
  342.  
  343. 3.11. LPR Server Option
  344.  
  345.    The LPR server option specifies a list of RFC 1179 [10] line printer
  346.    servers available to the client.  Servers SHOULD be listed in order
  347.    of preference.
  348.  
  349.    The code for the LPR server option is 9.  The minimum length for this
  350.    option is 4 octets, and the length MUST always be a multiple of 4.
  351.  
  352.     Code   Len         Address 1               Address 2
  353.    +-----+-----+-----+-----+-----+-----+-----+-----+--
  354.    |  9  |  n  |  a1 |  a2 |  a3 |  a4 |  a1 |  a2 |  ...
  355.    +-----+-----+-----+-----+-----+-----+-----+-----+--
  356.  
  357. 3.12. Impress Server Option
  358.  
  359.    The Impress server option specifies a list of Imagen Impress servers
  360.    available to the client.  Servers SHOULD be listed in order of
  361.    preference.
  362.  
  363.    The code for the Impress server option is 10.  The minimum length for
  364.    this option is 4 octets, and the length MUST always be a multiple of
  365.    4.
  366.  
  367.     Code   Len         Address 1               Address 2
  368.    +-----+-----+-----+-----+-----+-----+-----+-----+--
  369.    |  10 |  n  |  a1 |  a2 |  a3 |  a4 |  a1 |  a2 |  ...
  370.    +-----+-----+-----+-----+-----+-----+-----+-----+--
  371.  
  372. 3.13. Resource Location Server Option
  373.  
  374.    This option specifies a list of RFC 887 [11] Resource Location
  375.    servers available to the client.  Servers SHOULD be listed in order
  376.    of preference.
  377.  
  378.    The code for this option is 11.  The minimum length for this option
  379.    is 4 octets, and the length MUST always be a multiple of 4.
  380.  
  381.     Code   Len         Address 1               Address 2
  382.    +-----+-----+-----+-----+-----+-----+-----+-----+--
  383.    |  11 |  n  |  a1 |  a2 |  a3 |  a4 |  a1 |  a2 |  ...
  384.    +-----+-----+-----+-----+-----+-----+-----+-----+--
  385.  
  386.  
  387.  
  388.  
  389.  
  390.  
  391.  
  392.  
  393.  
  394. Alexander & Droms                                               [Page 7]
  395.  
  396. RFC 1533        DHCP Options and BOOTP Vendor Extensions    October 1993
  397.  
  398.  
  399. 3.14. Host Name Option
  400.  
  401.    This option specifies the name of the client.  The name may or may
  402.    not be qualified with the local domain name (see section 3.17 for the
  403.    preferred way to retrieve the domain name).  See RFC 1035 for
  404.    character set restrictions.
  405.  
  406.    The code for this option is 12, and its minimum length is 1.
  407.  
  408.     Code   Len                 Host Name
  409.    +-----+-----+-----+-----+-----+-----+-----+-----+--
  410.    |  12 |  n  |  h1 |  h2 |  h3 |  h4 |  h5 |  h6 |  ...
  411.    +-----+-----+-----+-----+-----+-----+-----+-----+--
  412.  
  413. 3.15. Boot File Size Option
  414.  
  415.    This option specifies the length in 512-octet blocks of the default
  416.    boot image for the client.  The file length is specified as an
  417.    unsigned 16-bit integer.
  418.  
  419.    The code for this option is 13, and its length is 2.
  420.  
  421.     Code   Len   File Size
  422.    +-----+-----+-----+-----+
  423.    |  13 |  2  |  l1 |  l2 |
  424.    +-----+-----+-----+-----+
  425.  
  426. 3.16. Merit Dump File
  427.  
  428.    This option specifies the path-name of a file to which the client's
  429.    core image should be dumped in the event the client crashes.  The
  430.    path is formatted as a character string consisting of characters from
  431.    the NVT ASCII character set.
  432.  
  433.    The code for this option is 14.  Its minimum length is 1.
  434.  
  435.     Code   Len      Dump File Pathname
  436.    +-----+-----+-----+-----+-----+-----+---
  437.    |  14 |  n  |  n1 |  n2 |  n3 |  n4 | ...
  438.    +-----+-----+-----+-----+-----+-----+---
  439.  
  440.  
  441.  
  442.  
  443.  
  444.  
  445.  
  446.  
  447.  
  448.  
  449.  
  450. Alexander & Droms                                               [Page 8]
  451.  
  452. RFC 1533        DHCP Options and BOOTP Vendor Extensions    October 1993
  453.  
  454.  
  455. 3.17. Domain Name
  456.  
  457.    This option specifies the domain name that client should use when
  458.    resolving hostnames via the Domain Name System.
  459.  
  460.    The code for this option is 15.  Its minimum length is 1.
  461.  
  462.     Code   Len        Domain Name
  463.    +-----+-----+-----+-----+-----+-----+--
  464.    |  15 |  n  |  d1 |  d2 |  d3 |  d4 |  ...
  465.    +-----+-----+-----+-----+-----+-----+--
  466.  
  467. 3.18. Swap Server
  468.  
  469.    This specifies the IP address of the client's swap server.
  470.  
  471.    The code for this option is 16 and its length is 4.
  472.  
  473.     Code   Len    Swap Server Address
  474.    +-----+-----+-----+-----+-----+-----+
  475.    |  16 |  n  |  a1 |  a2 |  a3 |  a4 |
  476.    +-----+-----+-----+-----+-----+-----+
  477.  
  478. 3.19. Root Path
  479.  
  480.    This option specifies the path-name that contains the client's root
  481.    disk.  The path is formatted as a character string consisting of
  482.    characters from the NVT ASCII character set.
  483.  
  484.    The code for this option is 17.  Its minimum length is 1.
  485.  
  486.     Code   Len      Root Disk Pathname
  487.    +-----+-----+-----+-----+-----+-----+---
  488.    |  17 |  n  |  n1 |  n2 |  n3 |  n4 | ...
  489.    +-----+-----+-----+-----+-----+-----+---
  490.  
  491.  
  492.  
  493.  
  494.  
  495.  
  496.  
  497.  
  498.  
  499.  
  500.  
  501.  
  502.  
  503.  
  504.  
  505.  
  506. Alexander & Droms                                               [Page 9]
  507.  
  508. RFC 1533        DHCP Options and BOOTP Vendor Extensions    October 1993
  509.  
  510.  
  511. 3.20. Extensions Path
  512.  
  513.    A string to specify a file, retrievable via TFTP, which contains
  514.    information which can be interpreted in the same way as the 64-octet
  515.    vendor-extension field within the BOOTP response, with the following
  516.    exceptions:
  517.  
  518.           - the length of the file is unconstrained;
  519.           - all references to Tag 18 (i.e., instances of the
  520.             BOOTP Extensions Path field) within the file are
  521.             ignored.
  522.  
  523.    The code for this option is 18.  Its minimum length is 1.
  524.  
  525.     Code   Len      Extensions Pathname
  526.    +-----+-----+-----+-----+-----+-----+---
  527.    |  18 |  n  |  n1 |  n2 |  n3 |  n4 | ...
  528.    +-----+-----+-----+-----+-----+-----+---
  529.  
  530. 4. IP Layer Parameters per Host
  531.  
  532.    This section details the options that affect the operation of the IP
  533.    layer on a per-host basis.
  534.  
  535. 4.1. IP Forwarding Enable/Disable Option
  536.  
  537.    This option specifies whether the client should configure its IP
  538.    layer for packet forwarding.  A value of 0 means disable IP
  539.    forwarding, and a value of 1 means enable IP forwarding.
  540.  
  541.    The code for this option is 19, and its length is 1.
  542.  
  543.     Code   Len  Value
  544.    +-----+-----+-----+
  545.    |  19 |  1  | 0/1 |
  546.    +-----+-----+-----+
  547.  
  548.  
  549.  
  550.  
  551.  
  552.  
  553.  
  554.  
  555.  
  556.  
  557.  
  558.  
  559.  
  560.  
  561.  
  562. Alexander & Droms                                              [Page 10]
  563.  
  564. RFC 1533        DHCP Options and BOOTP Vendor Extensions    October 1993
  565.  
  566.  
  567. 4.2. Non-Local Source Routing Enable/Disable Option
  568.  
  569.    This option specifies whether the client should configure its IP
  570.    layer to allow forwarding of datagrams with non-local source routes
  571.    (see Section 3.3.5 of [4] for a discussion of this topic).  A value
  572.    of 0 means disallow forwarding of such datagrams, and a value of 1
  573.    means allow forwarding.
  574.  
  575.    The code for this option is 20, and its length is 1.
  576.  
  577.     Code   Len  Value
  578.    +-----+-----+-----+
  579.    |  20 |  1  | 0/1 |
  580.    +-----+-----+-----+
  581.  
  582. 4.3. Policy Filter Option
  583.  
  584.    This option specifies policy filters for non-local source routing.
  585.    The filters consist of a list of IP addresses and masks which specify
  586.    destination/mask pairs with which to filter incoming source routes.
  587.  
  588.    Any source routed datagram whose next-hop address does not match one
  589.    of the filters should be discarded by the client.
  590.  
  591.    See [4] for further information.
  592.  
  593.    The code for this option is 21.  The minimum length of this option is
  594.    8, and the length MUST be a multiple of 8.
  595.  
  596.     Code   Len         Address 1                  Mask 1
  597.    +-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+
  598.    |  21 |  n  |  a1 |  a2 |  a3 |  a4 |  m1 |  m2 |  m3 |  m4 |
  599.    +-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+
  600.            Address 2                  Mask 2
  601.    +-----+-----+-----+-----+-----+-----+-----+-----+---
  602.    |  a1 |  a2 |  a3 |  a4 |  m1 |  m2 |  m3 |  m4 | ...
  603.    +-----+-----+-----+-----+-----+-----+-----+-----+---
  604.  
  605.  
  606.  
  607.  
  608.  
  609.  
  610.  
  611.  
  612.  
  613.  
  614.  
  615.  
  616.  
  617.  
  618. Alexander & Droms                                              [Page 11]
  619.  
  620. RFC 1533        DHCP Options and BOOTP Vendor Extensions    October 1993
  621.  
  622.  
  623. 4.4. Maximum Datagram Reassembly Size
  624.  
  625.    This option specifies the maximum size datagram that the client
  626.    should be prepared to reassemble.  The size is specified as a 16-bit
  627.    unsigned integer.  The minimum value legal value is 576.
  628.  
  629.    The code for this option is 22, and its length is 2.
  630.  
  631.     Code   Len      Size
  632.    +-----+-----+-----+-----+
  633.    |  22 |  2  |  s1 |  s2 |
  634.    +-----+-----+-----+-----+
  635.  
  636. 4.5. Default IP Time-to-live
  637.  
  638.    This option specifies the default time-to-live that the client should
  639.    use on outgoing datagrams.  The TTL is specified as an octet with a
  640.    value between 1 and 255.
  641.  
  642.    The code for this option is 23, and its length is 1.
  643.  
  644.     Code   Len   TTL
  645.    +-----+-----+-----+
  646.    |  23 |  1  | ttl |
  647.    +-----+-----+-----+
  648.  
  649. 4.6. Path MTU Aging Timeout Option
  650.  
  651.    This option specifies the timeout (in seconds) to use when aging Path
  652.    MTU values discovered by the mechanism defined in RFC 1191 [12].  The
  653.    timeout is specified as a 32-bit unsigned integer.
  654.  
  655.    The code for this option is 24, and its length is 4.
  656.  
  657.     Code   Len           Timeout
  658.    +-----+-----+-----+-----+-----+-----+
  659.    |  24 |  4  |  t1 |  t2 |  t3 |  t4 |
  660.    +-----+-----+-----+-----+-----+-----+
  661.  
  662.  
  663.  
  664.  
  665.  
  666.  
  667.  
  668.  
  669.  
  670.  
  671.  
  672.  
  673.  
  674. Alexander & Droms                                              [Page 12]
  675.  
  676. RFC 1533        DHCP Options and BOOTP Vendor Extensions    October 1993
  677.  
  678.  
  679. 4.7. Path MTU Plateau Table Option
  680.  
  681.    This option specifies a table of MTU sizes to use when performing
  682.    Path MTU Discovery as defined in RFC 1191.  The table is formatted as
  683.    a list of 16-bit unsigned integers, ordered from smallest to largest.
  684.    The minimum MTU value cannot be smaller than 68.
  685.  
  686.    The code for this option is 25.  Its minimum length is 2, and the
  687.    length MUST be a multiple of 2.
  688.  
  689.     Code   Len     Size 1      Size 2
  690.    +-----+-----+-----+-----+-----+-----+---
  691.    |  25 |  n  |  s1 |  s2 |  s1 |  s2 | ...
  692.    +-----+-----+-----+-----+-----+-----+---
  693.  
  694. 5. IP Layer Parameters per Interface
  695.  
  696.    This section details the options that affect the operation of the IP
  697.    layer on a per-interface basis.  It is expected that a client can
  698.    issue multiple requests, one per interface, in order to configure
  699.    interfaces with their specific parameters.
  700.  
  701. 5.1. Interface MTU Option
  702.  
  703.    This option specifies the MTU to use on this interface.  The MTU is
  704.    specified as a 16-bit unsigned integer.  The minimum legal value for
  705.    the MTU is 68.
  706.  
  707.    The code for this option is 26, and its length is 2.
  708.  
  709.     Code   Len      MTU
  710.    +-----+-----+-----+-----+
  711.    |  26 |  2  |  m1 |  m2 |
  712.    +-----+-----+-----+-----+
  713.  
  714.  
  715.  
  716.  
  717.  
  718.  
  719.  
  720.  
  721.  
  722.  
  723.  
  724.  
  725.  
  726.  
  727.  
  728.  
  729.  
  730. Alexander & Droms                                              [Page 13]
  731.  
  732. RFC 1533        DHCP Options and BOOTP Vendor Extensions    October 1993
  733.  
  734.  
  735. 5.2. All Subnets are Local Option
  736.  
  737.    This option specifies whether or not the client may assume that all
  738.    subnets of the IP network to which the client is connected use the
  739.    same MTU as the subnet of that network to which the client is
  740.    directly connected.  A value of 1 indicates that all subnets share
  741.    the same MTU.  A value of 0 means that the client should assume that
  742.    some subnets of the directly connected network may have smaller MTUs.
  743.  
  744.    The code for this option is 27, and its length is 1.
  745.  
  746.     Code   Len  Value
  747.    +-----+-----+-----+
  748.    |  27 |  1  | 0/1 |
  749.    +-----+-----+-----+
  750.  
  751. 5.3. Broadcast Address Option
  752.  
  753.    This option specifies the broadcast address in use on the client's
  754.    subnet.  Legal values for broadcast addresses are specified in
  755.    section 3.2.1.3 of [4].
  756.  
  757.    The code for this option is 28, and its length is 4.
  758.  
  759.     Code   Len     Broadcast Address
  760.    +-----+-----+-----+-----+-----+-----+
  761.    |  28 |  4  |  b1 |  b2 |  b3 |  b4 |
  762.    +-----+-----+-----+-----+-----+-----+
  763.  
  764. 5.4. Perform Mask Discovery Option
  765.  
  766.    This option specifies whether or not the client should perform subnet
  767.    mask discovery using ICMP.  A value of 0 indicates that the client
  768.    should not perform mask discovery.  A value of 1 means that the
  769.    client should perform mask discovery.
  770.  
  771.    The code for this option is 29, and its length is 1.
  772.  
  773.     Code   Len  Value
  774.    +-----+-----+-----+
  775.    |  29 |  1  | 0/1 |
  776.    +-----+-----+-----+
  777.  
  778.  
  779.  
  780.  
  781.  
  782.  
  783.  
  784.  
  785.  
  786. Alexander & Droms                                              [Page 14]
  787.  
  788. RFC 1533        DHCP Options and BOOTP Vendor Extensions    October 1993
  789.  
  790.  
  791. 5.5. Mask Supplier Option
  792.  
  793.    This option specifies whether or not the client should respond to
  794.    subnet mask requests using ICMP.  A value of 0 indicates that the
  795.    client should not respond.  A value of 1 means that the client should
  796.    respond.
  797.  
  798.    The code for this option is 30, and its length is 1.
  799.  
  800.     Code   Len  Value
  801.    +-----+-----+-----+
  802.    |  30 |  1  | 0/1 |
  803.    +-----+-----+-----+
  804.  
  805. 5.6. Perform Router Discovery Option
  806.  
  807.    This option specifies whether or not the client should solicit
  808.    routers using the Router Discovery mechanism defined in RFC 1256
  809.    [13].  A value of 0 indicates that the client should not perform
  810.    router discovery.  A value of 1 means that the client should perform
  811.    router discovery.
  812.  
  813.    The code for this option is 31, and its length is 1.
  814.  
  815.     Code   Len  Value
  816.    +-----+-----+-----+
  817.    |  31 |  1  | 0/1 |
  818.    +-----+-----+-----+
  819.  
  820. 5.7. Router Solicitation Address Option
  821.  
  822.    This option specifies the address to which the client should transmit
  823.    router solicitation requests.
  824.  
  825.    The code for this option is 32, and its length is 4.
  826.  
  827.     Code   Len            Address
  828.    +-----+-----+-----+-----+-----+-----+
  829.    |  32 |  4  |  a1 |  a2 |  a3 |  a4 |
  830.    +-----+-----+-----+-----+-----+-----+
  831.  
  832.  
  833.  
  834.  
  835.  
  836.  
  837.  
  838.  
  839.  
  840.  
  841.  
  842. Alexander & Droms                                              [Page 15]
  843.  
  844. RFC 1533        DHCP Options and BOOTP Vendor Extensions    October 1993
  845.  
  846.  
  847. 5.8. Static Route Option
  848.  
  849.    This option specifies a list of static routes that the client should
  850.    install in its routing cache.  If multiple routes to the same
  851.    destination are specified, they are listed in descending order of
  852.    priority.
  853.  
  854.    The routes consist of a list of IP address pairs.  The first address
  855.    is the destination address, and the second address is the router for
  856.    the destination.
  857.  
  858.    The default route (0.0.0.0) is an illegal destination for a static
  859.    route.  See section 3.5 for information about the router option.
  860.  
  861.    The code for this option is 33.  The minimum length of this option is
  862.    8, and the length MUST be a multiple of 8.
  863.  
  864.     Code   Len         Destination 1           Router 1
  865.    +-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+
  866.    |  33 |  n  |  d1 |  d2 |  d3 |  d4 |  r1 |  r2 |  r3 |  r4 |
  867.    +-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+
  868.            Destination 2           Router 2
  869.    +-----+-----+-----+-----+-----+-----+-----+-----+---
  870.    |  d1 |  d2 |  d3 |  d4 |  r1 |  r2 |  r3 |  r4 | ...
  871.    +-----+-----+-----+-----+-----+-----+-----+-----+---
  872.  
  873. 6. Link Layer Parameters per Interface
  874.  
  875.    This section lists the options that affect the operation of the data
  876.    link layer on a per-interface basis.
  877.  
  878. 6.1. Trailer Encapsulation Option
  879.  
  880.    This option specifies whether or not the client should negotiate the
  881.    use of trailers (RFC 893 [14]) when using the ARP protocol.  A value
  882.    of 0 indicates that the client should not attempt to use trailers.  A
  883.    value of 1 means that the client should attempt to use trailers.
  884.  
  885.    The code for this option is 34, and its length is 1.
  886.  
  887.     Code   Len  Value
  888.    +-----+-----+-----+
  889.    |  34 |  1  | 0/1 |
  890.    +-----+-----+-----+
  891.  
  892.  
  893.  
  894.  
  895.  
  896.  
  897.  
  898. Alexander & Droms                                              [Page 16]
  899.  
  900. RFC 1533        DHCP Options and BOOTP Vendor Extensions    October 1993
  901.  
  902.  
  903. 6.2. ARP Cache Timeout Option
  904.  
  905.    This option specifies the timeout in seconds for ARP cache entries.
  906.    The time is specified as a 32-bit unsigned integer.
  907.  
  908.    The code for this option is 35, and its length is 4.
  909.  
  910.     Code   Len           Time
  911.    +-----+-----+-----+-----+-----+-----+
  912.    |  35 |  4  |  t1 |  t2 |  t3 |  t4 |
  913.    +-----+-----+-----+-----+-----+-----+
  914.  
  915. 6.3. Ethernet Encapsulation Option
  916.  
  917.    This option specifies whether or not the client should use Ethernet
  918.    Version 2 (RFC 894 [15]) or IEEE 802.3 (RFC 1042 [16]) encapsulation
  919.    if the interface is an Ethernet.  A value of 0 indicates that the
  920.    client should use RFC 894 encapsulation.  A value of 1 means that the
  921.    client should use RFC 1042 encapsulation.
  922.  
  923.    The code for this option is 36, and its length is 1.
  924.  
  925.     Code   Len  Value
  926.    +-----+-----+-----+
  927.    |  36 |  1  | 0/1 |
  928.    +-----+-----+-----+
  929.  
  930. 7. TCP Parameters
  931.  
  932.    This section lists the options that affect the operation of the TCP
  933.    layer on a per-interface basis.
  934.  
  935. 7.1. TCP Default TTL Option
  936.  
  937.    This option specifies the default TTL that the client should use when
  938.    sending TCP segments.  The value is represented as an 8-bit unsigned
  939.    integer.  The minimum value is 1.
  940.  
  941.    The code for this option is 37, and its length is 1.
  942.  
  943.     Code   Len   TTL
  944.    +-----+-----+-----+
  945.    |  37 |  1  |  n  |
  946.    +-----+-----+-----+
  947.  
  948.  
  949.  
  950.  
  951.  
  952.  
  953.  
  954. Alexander & Droms                                              [Page 17]
  955.  
  956. RFC 1533        DHCP Options and BOOTP Vendor Extensions    October 1993
  957.  
  958.  
  959. 7.2. TCP Keepalive Interval Option
  960.  
  961.    This option specifies the interval (in seconds) that the client TCP
  962.    should wait before sending a keepalive message on a TCP connection.
  963.    The time is specified as a 32-bit unsigned integer.  A value of zero
  964.    indicates that the client should not generate keepalive messages on
  965.    connections unless specifically requested by an application.
  966.  
  967.    The code for this option is 38, and its length is 4.
  968.  
  969.     Code   Len           Time
  970.    +-----+-----+-----+-----+-----+-----+
  971.    |  38 |  4  |  t1 |  t2 |  t3 |  t4 |
  972.    +-----+-----+-----+-----+-----+-----+
  973.  
  974. 7.3. TCP Keepalive Garbage Option
  975.  
  976.    This option specifies the whether or not the client should send TCP
  977.    keepalive messages with a octet of garbage for compatibility with
  978.    older implementations.  A value of 0 indicates that a garbage octet
  979.    should not be sent. A value of 1 indicates that a garbage octet
  980.    should be sent.
  981.  
  982.    The code for this option is 39, and its length is 1.
  983.  
  984.     Code   Len  Value
  985.    +-----+-----+-----+
  986.    |  39 |  1  | 0/1 |
  987.    +-----+-----+-----+
  988.  
  989. 8. Application and Service Parameters
  990.  
  991.    This section details some miscellaneous options used to configure
  992.    miscellaneous applications and services.
  993.  
  994. 8.1. Network Information Service Domain Option
  995.  
  996.    This option specifies the name of the client's NIS [17] domain.  The
  997.    domain is formatted as a character string consisting of characters
  998.    from the NVT ASCII character set.
  999.  
  1000.    The code for this option is 40.  Its minimum length is 1.
  1001.  
  1002.     Code   Len      NIS Domain Name
  1003.    +-----+-----+-----+-----+-----+-----+---
  1004.    |  40 |  n  |  n1 |  n2 |  n3 |  n4 | ...
  1005.    +-----+-----+-----+-----+-----+-----+---
  1006.  
  1007.  
  1008.  
  1009.  
  1010. Alexander & Droms                                              [Page 18]
  1011.  
  1012. RFC 1533        DHCP Options and BOOTP Vendor Extensions    October 1993
  1013.  
  1014.  
  1015. 8.2. Network Information Servers Option
  1016.  
  1017.    This option specifies a list of IP addresses indicating NIS servers
  1018.    available to the client.  Servers SHOULD be listed in order of
  1019.    preference.
  1020.  
  1021.    The code for this option is 41.  Its minimum length is 4, and the
  1022.    length MUST be a multiple of 4.
  1023.  
  1024.     Code   Len         Address 1               Address 2
  1025.    +-----+-----+-----+-----+-----+-----+-----+-----+--
  1026.    |  41 |  n  |  a1 |  a2 |  a3 |  a4 |  a1 |  a2 |  ...
  1027.    +-----+-----+-----+-----+-----+-----+-----+-----+--
  1028.  
  1029. 8.3. Network Time Protocol Servers Option
  1030.  
  1031.    This option specifies a list of IP addresses indicating NTP [18]
  1032.    servers available to the client.  Servers SHOULD be listed in order
  1033.    of preference.
  1034.  
  1035.    The code for this option is 42.  Its minimum length is 4, and the
  1036.    length MUST be a multiple of 4.
  1037.  
  1038.     Code   Len         Address 1               Address 2
  1039.    +-----+-----+-----+-----+-----+-----+-----+-----+--
  1040.    |  42 |  n  |  a1 |  a2 |  a3 |  a4 |  a1 |  a2 |  ...
  1041.    +-----+-----+-----+-----+-----+-----+-----+-----+--
  1042.  
  1043. 8.4. Vendor Specific Information
  1044.  
  1045.    This option is used by clients and servers to exchange vendor-
  1046.    specific information.  The information is an opaque object of n
  1047.    octets, presumably interpreted by vendor-specific code on the clients
  1048.    and servers.  The definition of this information is vendor specific.
  1049.    The vendor is indicated in the class-identifier option.  Servers not
  1050.    equipped to interpret the vendor-specific information sent by a
  1051.    client MUST ignore it (although it may be reported).  Clients which
  1052.    do not receive desired vendor-specific information SHOULD make an
  1053.    attempt to operate without it, although they may do so (and announce
  1054.    they are doing so) in a degraded mode.
  1055.  
  1056.    If a vendor potentially encodes more than one item of information in
  1057.    this option, then the vendor SHOULD encode the option using
  1058.    "Encapsulated vendor-specific options" as described below:
  1059.  
  1060.    The Encapsulated vendor-specific options field SHOULD be encoded as a
  1061.    sequence of code/length/value fields of identical syntax to the DHCP
  1062.    options field with the following exceptions:
  1063.  
  1064.  
  1065.  
  1066. Alexander & Droms                                              [Page 19]
  1067.  
  1068. RFC 1533        DHCP Options and BOOTP Vendor Extensions    October 1993
  1069.  
  1070.  
  1071.       1) There SHOULD NOT be a "magic cookie" field in the encapsulated
  1072.          vendor-specific extensions field.
  1073.  
  1074.       2) Codes other than 0 or 255 MAY be redefined by the vendor within
  1075.          the encapsulated vendor-specific extensions field, but SHOULD
  1076.          conform to the tag-length-value syntax defined in section 2.
  1077.  
  1078.       3) Code 255 (END), if present, signifies the end of the
  1079.          encapsulated vendor extensions, not the end of the vendor
  1080.          extensions field. If no code 255 is present, then the end of
  1081.          the enclosing vendor-specific information field is taken as the
  1082.          end of the encapsulated vendor-specific extensions field.
  1083.  
  1084.    The code for this option is 43 and its minimum length is 1.
  1085.  
  1086.    Code   Len   Vendor-specific information
  1087.    +-----+-----+-----+-----+---
  1088.    |  43 |  n  |  i1 |  i2 | ...
  1089.    +-----+-----+-----+-----+---
  1090.  
  1091.    When encapsulated vendor-specific extensions are used, the
  1092.    information bytes 1-n have the following format:
  1093.  
  1094.     Code   Len   Data item        Code   Len   Data item       Code
  1095.    +-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+
  1096.    |  T1 |  n  |  d1 |  d2 | ... |  T2 |  n  |  D1 |  D2 | ... | ... |
  1097.    +-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+
  1098.  
  1099. 8.5. NetBIOS over TCP/IP Name Server Option
  1100.  
  1101.    The NetBIOS name server (NBNS) option specifies a list of RFC
  1102.    1001/1002 [19] [20] NBNS name servers listed in order of preference.
  1103.  
  1104.    The code for this option is 44.  The minimum length of the option is
  1105.    4 octets, and the length must always be a multiple of 4.
  1106.  
  1107.     Code   Len           Address 1              Address 2
  1108.    +-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+----
  1109.    |  44 |  n  |  a1 |  a2 |  a3 |  a4 |  b1 |  b2 |  b3 |  b4 | ...
  1110.    +-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+----
  1111.  
  1112.  
  1113.  
  1114.  
  1115.  
  1116.  
  1117.  
  1118.  
  1119.  
  1120.  
  1121.  
  1122. Alexander & Droms                                              [Page 20]
  1123.  
  1124. RFC 1533        DHCP Options and BOOTP Vendor Extensions    October 1993
  1125.  
  1126.  
  1127. 8.6. NetBIOS over TCP/IP Datagram Distribution Server Option
  1128.  
  1129.    The NetBIOS datagram distribution server (NBDD) option specifies a
  1130.    list of RFC 1001/1002 NBDD servers listed in order of preference. The
  1131.    code for this option is 45.  The minimum length of the option is 4
  1132.    octets, and the length must always be a multiple of 4.
  1133.  
  1134.     Code   Len           Address 1              Address 2
  1135.    +-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+----
  1136.    |  45 |  n  |  a1 |  a2 |  a3 |  a4 |  b1 |  b2 |  b3 |  b4 | ...
  1137.    +-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+----
  1138.  
  1139. 8.7. NetBIOS over TCP/IP Node Type Option
  1140.  
  1141.    The NetBIOS node type option allows NetBIOS over TCP/IP clients which
  1142.    are configurable to be configured as described in RFC 1001/1002.  The
  1143.    value is specified as a single octet which identifies the client type
  1144.    as follows:
  1145.  
  1146.       Value         Node Type
  1147.       -----         ---------
  1148.       0x1           B-node
  1149.       0x2           P-node
  1150.       0x4           M-node
  1151.       0x8           H-node
  1152.  
  1153.    In the above chart, the notation '0x' indicates a number in base-16
  1154.    (hexadecimal).
  1155.  
  1156.    The code for this option is 46.  The length of this option is always
  1157.    1.
  1158.  
  1159.     Code   Len  Node Type
  1160.    +-----+-----+-----------+
  1161.    |  46 |  1  | see above |
  1162.    +-----+-----+-----------+
  1163.  
  1164.  
  1165.  
  1166.  
  1167.  
  1168.  
  1169.  
  1170.  
  1171.  
  1172.  
  1173.  
  1174.  
  1175.  
  1176.  
  1177.  
  1178. Alexander & Droms                                              [Page 21]
  1179.  
  1180. RFC 1533        DHCP Options and BOOTP Vendor Extensions    October 1993
  1181.  
  1182.  
  1183. 8.8. NetBIOS over TCP/IP Scope Option
  1184.  
  1185.    The NetBIOS scope option specifies the NetBIOS over TCP/IP scope
  1186.    parameter for the client as specified in RFC 1001/1002. See [19],
  1187.    [20], and [8] for character-set restrictions.
  1188.  
  1189.    The code for this option is 47.  The minimum length of this option is
  1190.    1.
  1191.  
  1192.     Code   Len       NetBIOS Scope
  1193.    +-----+-----+-----+-----+-----+-----+----
  1194.    |  47 |  n  |  s1 |  s2 |  s3 |  s4 | ...
  1195.    +-----+-----+-----+-----+-----+-----+----
  1196.  
  1197. 8.9. X Window System Font Server Option
  1198.  
  1199.    This option specifies a list of X Window System [21] Font servers
  1200.    available to the client. Servers SHOULD be listed in order of
  1201.    preference.
  1202.  
  1203.    The code for this option is 48.  The minimum length of this option is
  1204.    4 octets, and the length MUST be a multiple of 4.
  1205.  
  1206.     Code   Len         Address 1               Address 2
  1207.    +-----+-----+-----+-----+-----+-----+-----+-----+---
  1208.    |  48 |  n  |  a1 |  a2 |  a3 |  a4 |  a1 |  a2 |   ...
  1209.    +-----+-----+-----+-----+-----+-----+-----+-----+---
  1210.  
  1211. 8.10. X Window System Display Manager Option
  1212.  
  1213.    This option specifies a list of IP addresses of systems that are
  1214.    running the X Window System Display Manager and are available to the
  1215.    client.
  1216.  
  1217.    Addresses SHOULD be listed in order of preference.
  1218.  
  1219.    The code for the this option is 49. The minimum length of this option
  1220.    is 4, and the length MUST be a multiple of 4.
  1221.  
  1222.     Code   Len         Address 1               Address 2
  1223.  
  1224.    +-----+-----+-----+-----+-----+-----+-----+-----+---
  1225.    |  49 |  n  |  a1 |  a2 |  a3 |  a4 |  a1 |  a2 |   ...
  1226.    +-----+-----+-----+-----+-----+-----+-----+-----+---
  1227.  
  1228.  
  1229.  
  1230.  
  1231.  
  1232.  
  1233.  
  1234. Alexander & Droms                                              [Page 22]
  1235.  
  1236. RFC 1533        DHCP Options and BOOTP Vendor Extensions    October 1993
  1237.  
  1238.  
  1239. 9. DHCP Extensions
  1240.  
  1241.    This section details the options that are specific to DHCP.
  1242.  
  1243. 9.1. Requested IP Address
  1244.  
  1245.    This option is used in a client request (DHCPDISCOVER) to allow the
  1246.    client to request that a particular IP address be assigned.
  1247.  
  1248.    The code for this option is 50, and its length is 4.
  1249.  
  1250.     Code   Len          Address
  1251.    +-----+-----+-----+-----+-----+-----+
  1252.    |  50 |  4  |  a1 |  a2 |  a3 |  a4 |
  1253.    +-----+-----+-----+-----+-----+-----+
  1254.  
  1255. 9.2. IP Address Lease Time
  1256.  
  1257.    This option is used in a client request (DHCPDISCOVER or DHCPREQUEST)
  1258.    to allow the client to request a lease time for the IP address.  In a
  1259.    server reply (DHCPOFFER), a DHCP server uses this option to specify
  1260.    the lease time it is willing to offer.
  1261.  
  1262.    The time is in units of seconds, and is specified as a 32-bit
  1263.    unsigned integer.
  1264.  
  1265.    The code for this option is 51, and its length is 4.
  1266.  
  1267.     Code   Len         Lease Time
  1268.    +-----+-----+-----+-----+-----+-----+
  1269.    |  51 |  4  |  t1 |  t2 |  t3 |  t4 |
  1270.    +-----+-----+-----+-----+-----+-----+
  1271.  
  1272. 9.3. Option Overload
  1273.  
  1274.    This option is used to indicate that the DHCP "sname" or "file"
  1275.    fields are being overloaded by using them to carry DHCP options. A
  1276.    DHCP server inserts this option if the returned parameters will
  1277.    exceed the usual space allotted for options.
  1278.  
  1279.    If this option is present, the client interprets the specified
  1280.    additional fields after it concludes interpretation of the standard
  1281.    option fields.
  1282.  
  1283.    The code for this option is 52, and its length is 1.  Legal values
  1284.    for this option are:
  1285.  
  1286.  
  1287.  
  1288.  
  1289.  
  1290. Alexander & Droms                                              [Page 23]
  1291.  
  1292. RFC 1533        DHCP Options and BOOTP Vendor Extensions    October 1993
  1293.  
  1294.  
  1295.            Value   Meaning
  1296.            -----   --------
  1297.              1     the "file" field is used to hold options
  1298.              2     the "sname" field is used to hold options
  1299.              3     both fields are used to hold options
  1300.  
  1301.     Code   Len  Value
  1302.    +-----+-----+-----+
  1303.    |  52 |  1  |1/2/3|
  1304.    +-----+-----+-----+
  1305.  
  1306. 9.4. DHCP Message Type
  1307.  
  1308.    This option is used to convey the type of the DHCP message.  The code
  1309.    for this option is 53, and its length is 1.  Legal values for this
  1310.    option are:
  1311.  
  1312.            Value   Message Type
  1313.            -----   ------------
  1314.              1     DHCPDISCOVER
  1315.              2     DHCPOFFER
  1316.              3     DHCPREQUEST
  1317.              4     DHCPDECLINE
  1318.              5     DHCPACK
  1319.              6     DHCPNAK
  1320.              7     DHCPRELEASE
  1321.  
  1322.     Code   Len  Type
  1323.    +-----+-----+-----+
  1324.    |  53 |  1  | 1-7 |
  1325.    +-----+-----+-----+
  1326.  
  1327. 9.5. Server Identifier
  1328.  
  1329.    This option is used in DHCPOFFER and DHCPREQUEST messages, and may
  1330.    optionally be included in the DHCPACK and DHCPNAK messages.  DHCP
  1331.    servers include this option in the DHCPOFFER in order to allow the
  1332.    client to distinguish between lease offers.  DHCP clients indicate
  1333.    which of several lease offers is being accepted by including this
  1334.    option in a DHCPREQUEST message.
  1335.  
  1336.    The identifier is the IP address of the selected server.
  1337.  
  1338.  
  1339.  
  1340.  
  1341.  
  1342.  
  1343.  
  1344.  
  1345.  
  1346. Alexander & Droms                                              [Page 24]
  1347.  
  1348. RFC 1533        DHCP Options and BOOTP Vendor Extensions    October 1993
  1349.  
  1350.  
  1351.    The code for this option is 54, and its length is 4.
  1352.  
  1353.     Code   Len            Address
  1354.    +-----+-----+-----+-----+-----+-----+
  1355.    |  54 |  4  |  a1 |  a2 |  a3 |  a4 |
  1356.    +-----+-----+-----+-----+-----+-----+
  1357.  
  1358. 9.6. Parameter Request List
  1359.  
  1360.    This option is used by a DHCP client to request values for specified
  1361.    configuration parameters.  The list of requested parameters is
  1362.    specified as n octets, where each octet is a valid DHCP option code
  1363.    as defined in this document.
  1364.  
  1365.    The client MAY list the options in order of preference.  The DHCP
  1366.    server is not required to return the options in the requested order,
  1367.    but MUST try to insert the requested options in the order requested
  1368.    by the client.
  1369.  
  1370.    The code for this option is 55.  Its minimum length is 1.
  1371.  
  1372.     Code   Len   Option Codes
  1373.    +-----+-----+-----+-----+---
  1374.    |  55 |  n  |  c1 |  c2 | ...
  1375.    +-----+-----+-----+-----+---
  1376.  
  1377. 9.7. Message
  1378.  
  1379.    This option is used by a DHCP server to provide an error message to a
  1380.    DHCP client in a DHCPNAK message in the event of a failure. A client
  1381.    may use this option in a DHCPDECLINE message to indicate the why the
  1382.    client declined the offered parameters.  The message consists of n
  1383.    octets of NVT ASCII text, which the client may display on an
  1384.    available output device.
  1385.  
  1386.    The code for this option is 56 and its minimum length is 1.
  1387.  
  1388.     Code   Len     Text
  1389.    +-----+-----+-----+-----+---
  1390.    |  56 |  n  |  c1 |  c2 | ...
  1391.    +-----+-----+-----+-----+---
  1392.  
  1393.  
  1394.  
  1395.  
  1396.  
  1397.  
  1398.  
  1399.  
  1400.  
  1401.  
  1402. Alexander & Droms                                              [Page 25]
  1403.  
  1404. RFC 1533        DHCP Options and BOOTP Vendor Extensions    October 1993
  1405.  
  1406.  
  1407. 9.8. Maximum DHCP Message Size
  1408.  
  1409.    This option specifies the maximum length DHCP message that it is
  1410.    willing to accept.  The length is specified as an unsigned 16-bit
  1411.    integer.  A client may use the maximum DHCP message size option in
  1412.    DHCPDISCOVER or DHCPREQUEST messages, but should not use the option
  1413.    in DHCPDECLINE messages.
  1414.  
  1415.    The code for this option is 57, and its length is 2.  The minimum
  1416.    legal value is 576 octets.
  1417.  
  1418.     Code   Len     Length
  1419.    +-----+-----+-----+-----+
  1420.    |  57 |  2  |  l1 |  l2 |
  1421.    +-----+-----+-----+-----+
  1422.  
  1423. 9.9. Renewal (T1) Time Value
  1424.  
  1425.    This option specifies the time interval from address assignment until
  1426.    the client transitions to the RENEWING state.
  1427.  
  1428.    The value is in units of seconds, and is specified as a 32-bit
  1429.    unsigned integer.
  1430.  
  1431.    The code for this option is 58, and its length is 4.
  1432.  
  1433.     Code   Len         T1 Interval
  1434.    +-----+-----+-----+-----+-----+-----+
  1435.    |  58 |  4  |  t1 |  t2 |  t3 |  t4 |
  1436.    +-----+-----+-----+-----+-----+-----+
  1437.  
  1438. 9.10. Rebinding (T2) Time Value
  1439.  
  1440.    This option specifies the time interval from address assignment until
  1441.    the client transitions to the REBINDING state.
  1442.  
  1443.    The value is in units of seconds, and is specified as a 32-bit
  1444.    unsigned integer.
  1445.  
  1446.    The code for this option is 59, and its length is 4.
  1447.  
  1448.     Code   Len         T2 Interval
  1449.    +-----+-----+-----+-----+-----+-----+
  1450.    |  59 |  4  |  t1 |  t2 |  t3 |  t4 |
  1451.    +-----+-----+-----+-----+-----+-----+
  1452.  
  1453.  
  1454.  
  1455.  
  1456.  
  1457.  
  1458. Alexander & Droms                                              [Page 26]
  1459.  
  1460. RFC 1533        DHCP Options and BOOTP Vendor Extensions    October 1993
  1461.  
  1462.  
  1463. 9.11. Class-identifier
  1464.  
  1465.    This option is used by DHCP clients to optionally identify the type
  1466.    and configuration of a DHCP client.  The information is a string of n
  1467.    octets, interpreted by servers.  Vendors and sites may choose to
  1468.    define specific class identifiers to convey particular configuration
  1469.    or other identification information about a client.  For example, the
  1470.    identifier may encode the client's hardware configuration.  Servers
  1471.    not equipped to interpret the class-specific information sent by a
  1472.    client MUST ignore it (although it may be reported).
  1473.  
  1474.    The code for this option is 60, and its minimum length is 1.
  1475.  
  1476.    Code   Len   Class-Identifier
  1477.    +-----+-----+-----+-----+---
  1478.    |  60 |  n  |  i1 |  i2 | ...
  1479.    +-----+-----+-----+-----+---
  1480.  
  1481. 9.12. Client-identifier
  1482.  
  1483.    This option is used by DHCP clients to specify their unique
  1484.    identifier.  DHCP servers use this value to index their database of
  1485.    address bindings.  This value is expected to be unique for all
  1486.    clients in an administrative domain.
  1487.  
  1488.    Identifiers consist of a type-value pair, similar to the
  1489.  
  1490.    It is expected that this field will typically contain a hardware type
  1491.    and hardware address, but this is not required.  Current legal values
  1492.    for hardware types are defined in [22].
  1493.  
  1494.    The code for this option is 61, and its minimum length is 2.
  1495.  
  1496.    Code   Len   Type  Client-Identifier
  1497.    +-----+-----+-----+-----+-----+---
  1498.    |  61 |  n  |  t1 |  i1 |  i2 | ...
  1499.    +-----+-----+-----+-----+-----+---
  1500.  
  1501. 10. Extensions
  1502.  
  1503.    Additional generic data fields may be registered by contacting:
  1504.  
  1505.       Internet Assigned Numbers Authority (IANA)
  1506.       USC/Information Sciences Institute
  1507.       4676 Admiralty Way
  1508.       Marina del Rey, California  90292-6695
  1509.  
  1510.       or by email as: iana@isi.edu
  1511.  
  1512.  
  1513.  
  1514. Alexander & Droms                                              [Page 27]
  1515.  
  1516. RFC 1533        DHCP Options and BOOTP Vendor Extensions    October 1993
  1517.  
  1518.  
  1519.    Implementation specific use of undefined generic types (those in the
  1520.    range 61-127) may conflict with other implementations, and
  1521.    registration is required.
  1522.  
  1523. 11. Acknowledgements
  1524.  
  1525.    The authors would like to thank Philip Almquist for his feedback on
  1526.    this document.  The comments of the DHCP Working Group are also
  1527.    gratefully acknowledged.  In particular, Mike Carney and Jon Dreyer
  1528.    from SunSelect suggested the current format of the Vendor-specific
  1529.    Information option.
  1530.  
  1531.    RFC 1497 is based on earlier work by Philip Prindeville, with help
  1532.    from Drew Perkins, Bill Croft, and Steve Deering.
  1533.  
  1534. 12. References
  1535.  
  1536.    [1] Droms, R., "Dynamic Host Configuration Protocol", RFC 1531,
  1537.        Bucknell University, October 1993.
  1538.  
  1539.    [2] Reynolds, J., "BOOTP Vendor Information Extensions", RFC 1497,
  1540.        USC/Information Sciences Institute, August 1993.
  1541.  
  1542.    [3] Croft, W., and J. Gilmore, "Bootstrap Protocol", RFC 951,
  1543.        Stanford University and Sun Microsystems, September 1985.
  1544.  
  1545.    [4] Braden, R., Editor, "Requirements for Internet Hosts -
  1546.        Communication Layers", STD 3, RFC 1122, USC/Information Sciences
  1547.        Institute, October 1989.
  1548.  
  1549.    [5] Mogul, J., and J. Postel, "Internet Standard Subnetting
  1550.        Procedure", STD 5, RFC 950, USC/Information Sciences Institute,
  1551.        August 1985.
  1552.  
  1553.    [6] Postel, J., and K. Harrenstien, "Time Protocol", STD 26, RFC
  1554.        868, USC/Information Sciences Institute, SRI, May 1983.
  1555.  
  1556.    [7] Postel, J., "Name Server", IEN 116, USC/Information Sciences
  1557.        Institute, August 1979.
  1558.  
  1559.    [8] Mockapetris, P., "Domain Names - Implementation and
  1560.        Specification", STD 13, RFC 1035, USC/Information Sciences
  1561.        Institute, November 1987.
  1562.  
  1563.    [9] Postel, J., "Quote of the Day Protocol", STD 23, RFC 865,
  1564.        USC/Information Sciences Institute, May 1983.
  1565.  
  1566.  
  1567.  
  1568.  
  1569.  
  1570. Alexander & Droms                                              [Page 28]
  1571.  
  1572. RFC 1533        DHCP Options and BOOTP Vendor Extensions    October 1993
  1573.  
  1574.  
  1575.    [10] McLaughlin, L., "Line Printer Daemon Protocol", RFC 1179, The
  1576.         Wollongong Group, August 1990.
  1577.  
  1578.    [11] Accetta, M., "Resource Location Protocol", RFC 887, CMU,
  1579.         December 1983.
  1580.  
  1581.    [12] Mogul, J. and S. Deering, "Path MTU Discovery", RFC 1191,
  1582.         DECWRL,  Stanford University, November 1990.
  1583.  
  1584.    [13] Deering, S., "ICMP Router Discovery Messages", RFC 1256,
  1585.         Xerox PARC, September 1991.
  1586.  
  1587.    [14] Leffler, S. and M. Karels, "Trailer Encapsulations", RFC 893,
  1588.         U. C. Berkeley, April 1984.
  1589.  
  1590.    [15] Hornig, C., "Standard for the Transmission of IP Datagrams over
  1591.         Ethernet Networks", RFC 894, Symbolics, April 1984.
  1592.  
  1593.    [16] Postel, J. and J. Reynolds, "Standard for the Transmission of
  1594.         IP Datagrams Over IEEE 802 Networks", RFC 1042,  USC/Information
  1595.         Sciences Institute, February 1988.
  1596.  
  1597.    [17] Sun Microsystems, "System and Network Administration", March
  1598.         1990.
  1599.  
  1600.    [18] Mills, D., "Internet Time Synchronization: The Network Time
  1601.         Protocol", RFC 1305, UDEL, March 1992.
  1602.  
  1603.    [19] NetBIOS Working Group, "Protocol Standard for a NetBIOS Service
  1604.         on a TCP/UDP transport: Concepts and Methods", STD 19, RFC 1001,
  1605.         March 1987.
  1606.  
  1607.    [20] NetBIOS Working Group, "Protocol Standard for a NetBIOS Service
  1608.         on a TCP/UDP transport: Detailed Specifications", STD 19, RFC
  1609.         1002, March 1987.
  1610.  
  1611.    [21] Scheifler, R., "FYI On the X Window System", FYI 6, RFC 1198,
  1612.         MIT Laboratory for Computer Science, January 1991.
  1613.  
  1614.    [22] Reynolds, J., and J. Postel, "Assigned Numbers", STD 2, RFC 1340,
  1615.         USC/Information Sciences Institute, July 1992.
  1616.  
  1617. 13. Security Considerations
  1618.  
  1619.    Security issues are not discussed in this memo.
  1620.  
  1621.  
  1622.  
  1623.  
  1624.  
  1625.  
  1626. Alexander & Droms                                              [Page 29]
  1627.  
  1628. RFC 1533        DHCP Options and BOOTP Vendor Extensions    October 1993
  1629.  
  1630.  
  1631. 14. Authors' Addresses
  1632.  
  1633.    Steve Alexander
  1634.    Lachman Technology, Inc.
  1635.    1901 North Naper Boulevard
  1636.    Naperville, IL 60563-8895
  1637.  
  1638.    Phone: (708) 505-9555 x256
  1639.    EMail: stevea@lachman.com
  1640.  
  1641.  
  1642.    Ralph Droms
  1643.    Computer Science Department
  1644.    323 Dana Engineering
  1645.    Bucknell University
  1646.    Lewisburg, PA 17837
  1647.  
  1648.    Phone: (717) 524-1145
  1649.    EMail: droms@bucknell.edu
  1650.  
  1651.  
  1652.  
  1653.  
  1654.  
  1655.  
  1656.  
  1657.  
  1658.  
  1659.  
  1660.  
  1661.  
  1662.  
  1663.  
  1664.  
  1665.  
  1666.  
  1667.  
  1668.  
  1669.  
  1670.  
  1671.  
  1672.  
  1673.  
  1674.  
  1675.  
  1676.  
  1677.  
  1678.  
  1679.  
  1680.  
  1681.  
  1682. Alexander & Droms                                              [Page 30]
  1683.  
  1684.